
	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	DataLife Engine  "" v.0.08 

	"   !"

	Admin-club.ru (c) 2010


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	 .

	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	
	  :

		 DataLife Engine	7.0 

		   	16 
	
		 GD			1.0 

		    	


	  :

		 DataLife Engine	8.5 

		   	128 
	
		 GD			2.0+ 

		    	+

		  		.htaccess

	 :
		
		 0.07 


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	!   ,  
	
	 "backup" ,     .


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
	

	        - 777  755:

	1) engine
	2) templetes
	3) uploads

	     - 777  755:

	4) engine/inc/options.php
	5) engine/modules/profile.php
	6) engine/engine.php
	7) .htaccess
	8) admin.php
	9) index.php

	     ,   ,
	     ,    :

		domains/admin-club.ru/public_html

		   :

		domains/admin-club.ru/public_html/index.php

	    <public_html>    777  755.

	:  777  755 ,   
	      ,    
	 .      777 - 
	    ,    
	,    ,      777,
	     ,   777 
	         (  ).
	,    ,     755.


		!    
		  []   ,
		       ,  
		Total Commander 6 !

	      :


	1.        <uploads>    ,    
	      UTF,         <uploads_coding_utf8>

		         - Default
		 Flexible,      <uploads/templates/Default>
		 <uploads/templates/siteShablon>,  <SiteShablon> -   
		 . 

		            (
		 <uploads/templates/Default/photo>   <uploads/templates/Default/css/photo.css>).

		[ ]

		    .			

	2.  SQL  .

		[    ""]

		   <hand install/sqls/new_intall.txt>

		[  ]

		   <hand install/sqls/upgrade_intall.txt>

		  ,       
		  .

		[     8.2,   ]

		    <hand install/sqls/after_8.2.txt>

		*  'dle'   
		    .

		*     sql
		  -  ,
		    1 .

		*     ,
		     sql - .

		*      .

	3.    .

		3.1.   <engine/engine.php>

		    ,    .

		:

------------------------------------------------------------------------------------
switch ( $do ) {
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------

		case "photo":

		include ENGINE_DIR.'/photo/brain.php';

		break;


------------------------------------------------------------------------------------

		 .


		3.2.   <engine/modules/profile.php>

		    ,    .

		:

------------------------------------------------------------------------------------
$tpl->set( '{news_num}', $row['news_num'] );
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
require_once( ROOT_DIR  . '/engine/photo/photo_nucleus/peace/profile.php'  );
------------------------------------------------------------------------------------

		 .

		3.3.   <.htaccess>

		  ,     .htaccess.
		 ,       
		    .
 
		:

------------------------------------------------------------------------------------
RewriteEngine On
------------------------------------------------------------------------------------

		    ,     ,        :

------------------------------------------------------------------------------------

# DLE Photoalboms

# RewriteCond%{REQUEST_FILENAME} -f

# RewriteRule^.+$ - [L,PT]

RewriteRule ^photo(/?)+$ index.php?do=photo [L]

RewriteRule ^photo-([a-z]+)(/?)+$ index.php?do=photo&a=$1 [L]

RewriteRule ^photo-([0-9]+)(/?)+$ index.php?do=photo&albom=$1 [L]

RewriteRule ^photo-id-([0-9]+).html$ index.php?do=photo&photoid=$1&a=showphoto [L]

RewriteRule ^photo-id-([0-9]+)-([0-9]+).html$ index.php?do=photo&photoid=$1&a=showphoto&pagecomments=$2 [L]

RewriteRule ^photo-([0-9]+)/([0-9]+)([^/]*)(/?)+$ index.php?do=photo&albom=$1&onpage=$2 [L]

RewriteRule ^photo/([0-9]+)([^/]*)(/?)+$ index.php?do=photo&onpage=$1 [L]

RewriteRule ^photo/mark-([0-9]+)+$ index.php?do=photo&mark=$1 [L]

RewriteRule ^photo/mark-([0-9]+)/([0-9]+)$ index.php?do=photo&mark=$1&onpage=$2 [L]

RewriteRule ^photo/rss(/?)+$ index.php?do=photo&a=rss [L]

RewriteRule ^photo/rss-([0-9]+)+$ index.php?do=photo&rss=$1 [L]

RewriteRule ^photo/tegs(/?)+$ index.php?do=photo&a=tegs [L]

RewriteRule ^photo/tegs-([^/]*)(/?)+$ index.php?do=photo&tegs=$1 [L]

RewriteRule ^photo/tegs-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&tegs=$1&onpage=$2 [L]

RewriteRule ^photo/search(/?)+$ index.php?do=photo&a=search [L]

RewriteRule ^photo/search-([^/]*)(/?)+$ index.php?do=photo&search=$1 [L]

RewriteRule ^photo/search-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&search=$1&onpage=$2 [L]

RewriteRule ^photo/user-([^/]*)(/?)+$ index.php?do=photo&user=$1 [L]

RewriteRule ^photo/user-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&user=$1&onpage=$2 [L]

RewriteRule ^photo-([a-z]+)/([0-9]+)(/?)+$ index.php?do=photo&a=$1&onpage=$2 [L]

RewriteRule ^uploads/photos/(micro|others|previews|show|temp)/(.*).(jpg|png|gif|jpeg)+$ index.php?do=photo&a=givemefile&type=$1&file=$2&filetype=$3 [L]

RewriteRule ^uploads/photos/(.*).(jpg|png|gif|jpeg)+$ index.php?do=photo&a=givemefile&file=$1&filetype=$2 [L]

RewriteRule ^photo/([0-9]+)-([0-9]+)/(.*).(jpg|png|gif|jpeg)(/?)+$ index.php?do=photo&see=$3.$4&d=$1&s=$2 [L]

RewriteRule ^photo/([0-9]+)-([0-9]+)-([0-9]+)/(.*).(jpg|png|gif|jpeg)(/?)+$ index.php?do=photo&otherpixsize=$1&q=$2&w=$3&pid=$4.$5 [L]

# DLE Photoalboms

------------------------------------------------------------------------------------

		 .

		3.4.   <templates//userinfo.tpl>

		:

------------------------------------------------------------------------------------
: {rate}
------------------------------------------------------------------------------------

		    ,     ,        :

------------------------------------------------------------------------------------
		<if moder> :<alboms><br></if>
		: <photos> [ <a href="<href photos>"></a> ]<br>
		%PHOTOS%
------------------------------------------------------------------------------------

		 .

		3.5.    8.0.

		  <admin.php>

		    ,    .

		:

------------------------------------------------------------------------------------
'googlemap',
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
'photo',
------------------------------------------------------------------------------------

		 .

		  <engine/inc/options.php>

		:


------------------------------------------------------------------------------------
$options['others'] = array (
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
array (
											'name' => '<font color=teal><u></u></font>',
											'url' => "$PHP_SELF?mod=photo",
											'descr' => '   !',
											'image' => "photo.gif",
											'access' => 'admin'
								),
------------------------------------------------------------------------------------

		 .

		    8.0,  ,    ,      /hand install/sqls/after_8.2.txt.

		3.6.     7.5.

		    ,    .

		  <admin.php>

		:


------------------------------------------------------------------------------------
'cmoderation' => 'user',
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
'photo' => 'admin',
------------------------------------------------------------------------------------

		 .

		  <engine/inc/options.php>

		:


------------------------------------------------------------------------------------
$options['others'] = array (
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
array (
											'name' => '<font color=teal><u></u></font>',
											'url' => "$PHP_SELF?mod=photo",
											'descr' => '   !',
											'image' => "photo.gif",
											'access' => '1'
								),
------------------------------------------------------------------------------------

		 .


		4.       .

			<uploads/photos> 		- 	777
			<uploads/photos/micro> 		- 	777
			<uploads/photos/others> 	- 	777
			<uploads/photos/previews> 	- 	777
			<uploads/photos/show> 		- 	777
			<uploads/photos/temp> 		- 	777
			<uploads/photos/originals> 	- 	777
			<engine/photo/caches> 		- 	777
			<engine/photo/data> 		- 	777

			*  775,     .

		5.       .

		    - ->  ->  ->    ( 
		     "Default"      , 
		   )

		    - ->  ->  ->    ( 
		     "Russian"      , 
		   )			 

		      -   "   ()".
			
		6.  .
			

	   ,   
	 : http://_/photo  http://_/index.php?do=photo

	     :

		-   ;

		-   /;
		
		- " ";

		-  , ,

		     

		   ICQ 709-056   

		   .


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

	.


	" " 		- http://admin-club.ru
			
		      		- http://admin-club.ru/forum

	Data Life Engine 	- http://dle-news.ru
	

	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	() RedRat, 2010

